package com.zhuozhou.jdyc.main.menu.bean;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

import com.zhuozhou.jdyc.BR;

/**
 * Create by CherishTang on 2020/3/20 0020
 * describe:
 */
public class JokeBean extends BaseObservable {

    /**
     * content : 有一天晚上我俩一起吃西瓜，老大把西瓜籽很整洁的吐在了一张纸上，
     过了几天，我从教室回但宿舍看到老大在磕瓜子，
     我就问他：老大，你什么时候买的瓜子？
     老大说：刚晒好，说着抓了一把要递给我……
     * hashId : bcc5fdc2fb6efc6db33fa242474f108a
     * unixtime : 1418814837
     * updatetime : 2014-12-17 19:13:57
     */

    private String content;
    private String hashId;
    private int unixtime;
    private String updatetime;

    public JokeBean(String content) {
        this.content = content;
    }

    @Bindable
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
        notifyPropertyChanged(BR.content);
    }

    @Bindable
    public String getHashId() {
        return hashId;
    }

    public void setHashId(String hashId) {
        this.hashId = hashId;
        notifyPropertyChanged(BR.hashId);
    }
    @Bindable
    public int getUnixtime() {
        return unixtime;
    }

    public void setUnixtime(int unixtime) {
        this.unixtime = unixtime;
        notifyPropertyChanged(BR.unixtime);
    }
    @Bindable
    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
        notifyPropertyChanged(BR.updatetime);
    }
}
